//统一管理用户相关的接口
import request from "@/utils/request";
//统一管理接口
enum API {
    URLINFO_URL = "/itp/api/urlinfo",
} 
export default{
    getAllUrlInfo:()=>request.get(`${API.URLINFO_URL}/find/all`),//获取全部的url
    addItem:(obj:any)=>request.post(`${API.URLINFO_URL}/return/obj`,obj),//添加
    editItem:(obj:any)=>request.put(`${API.URLINFO_URL}`,obj),//修改
    delItem:(id:number) => request.delete(`${API.URLINFO_URL}?id=${id}`),//删除
}